<?php

namespace App\Exception;

use Hyperf\Server\Exception\ServerException;
use Throwable;

class BusinessException extends ServerException
{
    /**
     * @param string $msg
     * @param int $code
     * @param Throwable|null $previous
     */
    public function __construct(string $msg = 'BusinessException', int $code = 200, Throwable $previous = null)
    {
        parent::__construct($msg, $code, $previous);
    }
}